package com.hbt.mycloud_consumer.consumer;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(name = "provider1", fallbackFactory = MyServiceFallBack.class)
public interface MyService {
    @RequestMapping("/login")
    public String login();

    @RequestMapping("/register")
    public String register();
}
